<title></title>
<h1>New reservation</h1>

<% form_for(@reservation) do |f| %>
  <%= f.error_messages %>

  <p>
    <%= f.label :arrive_date %><br />
    <%= f.date_select :arrive_date %>
  </p>
  <p>
    <%= f.label :exit_date %><br />
    <%= f.date_select :exit_date %>
  </p>
  <p>
    <%= f.label :num_adults %><br />
    <%= f.text_field :num_adults %>
  </p>
  <p>
    <%= f.label :num_childre %><br />
    <%= f.text_field :num_childre %>
  </p>
  <p>
    <%= f.label :guest_cpf %><br />
    <%= f.text_field :guest_cpf %> 
  </p> 
  <p>
    <%= f.submit 'Create' %>
  </p>
<% end %>

<%= link_to 'Back', reservations_path %>